home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11330 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.corp.sgi.com!inn
  2. From: Vishwanath Raman <vish@corp.sgi.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Question about exemplars
  5. Date: Wed, 13 Mar 1996 15:38:51 -0800
  6. Organization: Silicon Graphics, Inc.
  7. Message-ID: <31475C8B.41C6@corp.sgi.com>
  8. NNTP-Posting-Host: penrose.corp.sgi.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0S (X11; I; IRIX 5.3 IP22)
  13. CC: vish@corp.sgi.com
  14.  
  15. I am building a message library using Exemplars. I write objects from a
  16. given class hierarchy into a buffer ( contiguously ) and then send the
  17. buffer accross to a server/peer. I bring the objects back to 'life' by
  18. invoking a virtual MakeObject method defined through the hierarchy.
  19.  
  20. The problem is in trying to regenerate a message when the compilers used
  21. in creating the client/peer and server/peer programs are DIFFERENT.
  22.  
  23. This I assume is because of the way VTable pointers are stored within
  24. the class address space.
  25.  
  26. Any ideas to overcome this problem. Exemplars constitute a cool way of
  27. regenerating hierarchy objects without parsing...
  28.  
  29. A standardisation for the way class objects are stored in memory seems
  30. to be in order???
  31.  
  32. Thanks a mill for any feedback in advance, Vish
  33.  
  34. -- 
  35. Vishwanath Raman
  36. vish@corp.sgi.com
  37.